<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>美动传媒</title>
<link rel="stylesheet" href="__PUBLIC__/css/bootstrap.min.css">
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery.validate.js"></script>

<script type="text/javascript">
     
	$(document).ready(
		function() {

			$("#loginform").validate({
				rules:{
					'username':{
						required: true
					},
					'password':{
						required: true
					}
				},
				messages:{
					'username':{
						required: "请填写用户名"						
					},
					'password':{
						required: "请输入密码"
					}
				}
			});
	});

</script>

</head>
<body>

<div class="container-fluid col-md-8">
	<div class="login-form">
		<h3>管理员登录</h3>
		<form id="loginform" role="form" method="post" action="__URL__/doLogin" >
			<div class="form-group">
				<label >用户名</label>
				<input type="text" name="username" class="form-control" placeholder="请输入用户名"></div>
			<div class="form-group">
				<label>密码</label>
				<input type="password" name="password" class="form-control" placeholder="请输入密码"></div>

			<button type="submit" class="btn btn-primary">登录</button>
		</form>
	</div>
</div>

</body>
</html>